package com.coderyeah.cosmetology.service;

import com.coderyeah.cosmetology.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.coderyeah.cosmetology.util.Result;
import com.coderyeah.cosmetology.vo.OrderParams;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lqs
 * @since 2022-05-24
 */
public interface OrderService extends IService<Order> {

    /**
     * 创建订单
     * @param orderParams
     * @return
     */
    Result createOrder(OrderParams orderParams);



    /**
     * 查询订单信息
     * @return
     */
    Result queryOrderData(String token, String orderstate);
}
